<?php

// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

//return [
//    //别名配置,别名只能是映射到控制器且访问时必须加上请求的方法
//    '__alias__'   => [
//    ],
//    //变量规则
//    '__pattern__' => [
//    ],
    //域名绑定到模块
//    '__domain__'  => [
//        'admin' => 'admin',
//        'api'   => 'api',
//    ],
//];

use think\Route;

Route::get('about', 'index/about/index');

Route::post("message", 'index/index/message');

Route::get('case/brand', 'index/cases/brand');
Route::get('case/ip', 'index/cases/ip');
Route::get('case/data', 'index/cases/data');
Route::get('case/shop', 'index/cases/shop');
Route::get('case', 'index/cases/all');

Route::get('resource', 'index/resource/index');

Route::get('business', 'index/business/index');

Route::get('map', 'index/map/index');

Route::get('news/:id', 'index/news/detail');
Route::get('news', 'index/news/index');





